package uy.edu.um.ltic.server.business;

import java.sql.Timestamp;
import java.util.ArrayList;

public abstract class Message {

	private Timestamp date;
	private ArrayList<Employee> receivers;
	private Employee sender;
	
	public Message(Timestamp d, ArrayList<Employee> r, Employee s){
		date = d;
		receivers = r;
		sender = s;
	}
	
	public Message(Timestamp d, Employee s){
		date = d;
		sender = s;
	}

	public Timestamp getDate() {
		return date;
	}

	public void setDate(Timestamp date) {
		this.date = date;
	}

	public ArrayList<Employee> getReceivers() {
		return receivers;
	}
	public void setReceivers(ArrayList<Employee> receivers) {
		this.receivers = receivers;
	}
	public Employee getSender() {
		return sender;
	}
	public void setSender(Employee sender) {
		this.sender = sender;
	}

}
